{% if "/admin/" in path %}
  <a class='dlink{% if "post.html" in path %} actab{% endif %}' href='/admin/post.html'>Add News</a>
  <a class='dlink{% if "upload.html" in path %} actab{% endif %}' href='/admin/upload.html'>Upload</a>
  <a class='dlink{% if "clear-cache" in path %} actab{% endif %}' href='/admin/clear-cache' onclick="clearCache();return false;">Clear Cache</a>
{% else %}  
  <a class='dlink' href='{{ homepage|default:"/" }}#download' 
    onclick="pageTracker._trackEvent('Link clicks', 'Download link');" >Download</a>
  <a class='dlink' href='{{ homepage|default:"/" }}#screenshots' 
    onclick="pageTracker._trackEvent('Link clicks', 'Screenshots link');" >Screenshots</a>
{% endif %}
  <a class='dlink' href='http://code.google.com/p/reader-notifier-mod/source/checkout' 
    onclick="pageTracker._trackEvent('Link clicks', 'Source link');" >Source Code</a>
  <a class='dlink' href='http://code.google.com/p/reader-notifier-mod/' 
    onclick="pageTracker._trackEvent('Link clicks', 'Project link');" >Project Page</a>
  <a class='dlink{% if "about.html" in path %} actab{% endif %}' href='/about.html'>About</a>
  <a class='dlink{% ifequal path "home" %} actab{% endifequal %}' href='{{ homepage|default:"/" }}'>Home</a>
